package com.yg.service;

import com.yg.pojo.Cart;
import com.yg.pojo.TOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yg.pojo.vo.PageVo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author kotori
 * @since 2022-11-18
 */
public interface TOrderService extends IService<TOrder> {

    String createOrder(Cart cart, String user);

    PageVo<TOrder> getMyOrderPage(Long pageNo, Long pageSize, Integer userId, String url);

    PageVo<TOrder> allOrderPage(Long pageNo, Long pageSize, String url);

    Boolean fahuo(String orderId);
}
